package com.hspedu.homework_;

public class Car {
    private int temperature;
    public Car(int temperature) {
        this.temperature = temperature;
    }

    class Air{
        public void flow(){
            if(temperature > 40){
                System.out.println("flow cold wind");
            } else if(temperature < 0){
                System.out.println("flow warm wind");
            }
        }
    }
}
class TestCar{
    public static void main(String[] args) {
        Car car = new Car(45);
        car.new Air().flow();
    }
}